using MvvmFx.Common.ViewModels.Behaviors.LoadingSaving;
using Microsoft.Practices.Unity;

namespace MvvmFx.Samples.HowTos.ChangeTracking.ViewModels
{
    public class ContactDetailsSaver : ViewModelSaver<ContactDetailsViewModel>
    {
        public ContactDetailsSaver(IUnityContainer container)
            : base(container) { }

        protected override void OnSave(ContactDetailsViewModel contactDetailsVM)
        {
            // Update the data in the model here
      
        }
    }
}